public class ResponseMessage extends Message {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int command;
	private KeyValuePair tuple;
	private boolean successful;

	public ResponseMessage(ServerProfile[] receipients, ServerProfile sender, long msgId,
			KeyValuePair t, boolean successful) {
		super(receipients, sender, msgId);
		tuple = t;
		setSuccessful(successful);
	}
	
	public int getCommand() {
		return command;
	}

	public void setCommand(int command) {
		this.command = command;
	}

	public KeyValuePair getTuple() {
		return tuple;
	}

	public void setTuple(KeyValuePair tuple) {
		this.tuple = tuple;
	}

	public boolean isSuccessful() {
		return successful;
	}

	public void setSuccessful(boolean successful) {
		this.successful = successful;
	}

}